import subprocess

from src.utils import requirements_doc_analysis,get_git_diff,code_diff_analysis


if __name__ == "__main__":
    requirements_points = requirements_doc_analysis()
    print(requirements_points)
    print('------------')
    code_diff_content = get_git_diff(repo_path=r'D:\Programming_soft\ai_guard', source_branch='origin/master',
                                     target_branch='origin/develop')
    print(code_diff_content)
    res = code_diff_analysis(code_diff_content=code_diff_content, requirements_points=requirements_points)
    print(res)
    print('---------over--------')

